#pragma once

#define DINF DirectInputFramework

#define DINF_RELEASE_URN(x)  if(x){x->Release();x=0;}
#define DINF_RELEASE_LRN(x)  if(x){x->release();x=0;}
#define DINF_RELEASE_URDN(x) if(x){x->Release();delete x;x=0;}
#define DINF_RELEASE_LRDN(x) if(x){x->release();delete x;x=0;}